
<%
	String admin = (String)session.getAttribute("admin");
	if(admin == null || !admin.equals("admin")) {
		out.println("请先登录");
		response.sendRedirect("adminlogin.jsp"); 
	}

%>
